<?php

namespace common\logics\article;

use Yii;

/**
 * S页文字翻转资讯
 * 
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class RecommendArticleLogic extends RssArticleLogic {

    /**
     * @var integer 分页请求大小
     */
    public $limitSize = 3;

    /**
     * @var boolean 
     */
    public $pagesize = false;

    /**
     * @inheritdoc
     */
    public function fields() {
        return [
            'id',
            'title',
            'category',
            'description',
            'thumb',
            'author',
            'publish_time' => 'publishTime',
            'stats',
            'weblink',
        ];
    }

}
